package com.cloud.api.system;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.api.system.model.dto.UserDTO;
import com.cloud.api.system.model.parm.UserPARM;
import com.cloud.common.core.cons.CloudCons;
import com.cloud.common.core.model.response.SuccessResponses;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;

/**
 * 系统 用户模块Feign调用
 *
 * @author yan
 */
@FeignClient(contextId = "userFeign", path = "/user", value = CloudCons.SYSTEM)
public interface UserFeign {

    @GetMapping
    SuccessResponses<Page<UserDTO>> page(@ModelAttribute UserPARM userPARM);


}
